package cn.sxjzit.officlal.entity;

import java.util.Date;
import java.util.List;

public class NavRoot {
    private int id;
    private int order;
    private Date createTime;
    private Date updateTime;
    private List<MainRoot> mainRootList;


    public NavRoot() {
    }

    public NavRoot(int id, int order, Date createTime, Date updateTime, List<MainRoot> mainRootList) {
        this.id = id;
        this.order = order;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.mainRootList = mainRootList;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return order
     */
    public int getOrder() {
        return order;
    }

    /**
     * 设置
     * @param order
     */
    public void setOrder(int order) {
        this.order = order;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return mainList
     */
    public List<MainRoot> getMainList() {
        return mainRootList;
    }

    /**
     * 设置
     * @param mainRootList
     */
    public void setMainList(List<MainRoot> mainRootList) {
        this.mainRootList = mainRootList;
    }

    public String toString() {
        return "Nav{id = " + id + ", order = " + order + ", createTime = " + createTime + ", updateTime = " + updateTime + ", mainList = " + mainRootList + "}";
    }
}
